<%
import ycoa.ui.Renderer
import ycoa.ui.ProgressBuilder

def renderer = new Renderer()
def progress = new ProgressBuilder()
renderer.setAlignment("top", "center")

include "${header}"

progress.addItem("ITEM 1", "http://google.com", 20, false)
progress.addItem("ITEM 2", "http://google.com", 20, true)
progress.addItem("ITEM 3", "http://google.com", 20, false)
progress.addItem("ITEM 4", "http://google.com", 20, false)
println progress.getStyleSheet()
println progress.getProgressBar()

println renderer.getBody("""
        <table width=900 border=0 cellspacing=0 cellpadding=0>

           <tr class="TableHeader">
             <td>&nbsp;</td>
             <td nowrap>&nbsp;<strong>plugin</strong>&nbsp;</td>
             <td colspan="2">&nbsp;</td>
           </tr>

           <tr class="shaded0">
             <td>&nbsp;&nbsp;</td>
             <td nowrap><a class="record" href="/search">Search Plugin</a></td>
             <td>&nbsp;&nbsp;</td>
             </td>
           </tr>

           <tr class="shaded1">
             <td>&nbsp;&nbsp;</td>
             <td nowrap><a class="record" href="/classes">Basic Search Plugin</a></td>
             <td>&nbsp;&nbsp;</td>
           </tr>

           <tr class="shaded0">
             <td>&nbsp;&nbsp;</td>
             <td nowrap><a class="record" href="/m">Mobile Search Plugin</a></td>
             <td>&nbsp;&nbsp;</td>
           </tr>

           <tr class="shaded1">
             <td>&nbsp;&nbsp;</td>
             <td nowrap>Authorization Plugin</td>
             <td>&nbsp;&nbsp;</td>
           </tr>

           <tr class="shaded0">
             <td>&nbsp;&nbsp;</td>
             <td nowrap>Themes Plugin</td>
             <td>&nbsp;&nbsp;</td>
           </tr>

           <tr class="shaded1">
             <td>&nbsp;&nbsp;</td>
             <td nowrap>Sitemap Plugin</td>
             <td>&nbsp;&nbsp;</td>
           </tr>

        </table>
    """)

include "${footer}"

%>
